package com.zcgame.base.utils

import android.text.TextUtils
import android.util.Log


private const val LOG_TAG = "ZC_KE_PAN_GAME"
var debugMode = true
fun printDebug(log:String){
    if(debugMode&&!TextUtils.isEmpty(log)){
        Log.d(LOG_TAG,log)
    }
}
fun printDebug(TAG:String,log:String){
    if(debugMode&&!TextUtils.isEmpty(log)){
        Log.d(TAG,log)
    }
}
fun printError(TAG:String,log:String){
    if(debugMode&&!TextUtils.isEmpty(log)){
        Log.e(TAG,log)
    }
}
fun printError(log:String){
    if(debugMode&&!TextUtils.isEmpty(log)){
        Log.e(LOG_TAG,log)
    }
}
